package com.fei.mapper;

import com.fei.bean.UserBean;
import org.springframework.stereotype.Repository;

@Repository
public interface UserMapper {

//    验证该手机号是否注册过
    public Integer validPhone(String phone);

//    验证是否注册过该名字
    public Integer validName(String userName);

//    用于登录
    public UserBean loginUserShiro(String UserName);

//    注册
    public int registerUser(UserBean bean);

}
